package com.mes.schedule.manager.iface;

import com.mes.basicdata.domain.Routing;

//import com.mes.basicdata.persistence.domain.Routing;

/**
 * 调度工艺管理
 * ClassName: ScheduleRoutingManager <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason: TODO ADD REASON. <br/>  
 * date: Jun 22, 2015 9:10:54 PM <br/>  
 * @author Administrator  
 * @version   
 * @since JDK 1.6
 */
public interface IScheduleRoutingManager {
	/**
	 * 取得缺省计划工艺
	 * @param partUid
	 * @return
	 */
	public Routing getDefaultPlanRouting(String partUid);
	
	/**
	 * 取得缺省工艺，
	 * 优先从计划工艺中获取
	 * 如果计划工艺不存在，则取工艺中的有效工艺路线
	 * @param partUid
	 * @return
	 */
	public Routing getDefaultRouting(String partUid);
	
	public void saveRouting(String scheduleUid,String partTaskUid,Routing destRouting)  throws Exception;
	
}
